package com.swu.pad.system.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.swu.pad.system.entity.User;

public interface UserDao extends JpaRepository<User, String> {

	public User findUserById(String id);

	public User findUserByUsernameAndPassword(String username, String password);

	public List<User> findUserByUsername(String username);
	
}
